package com.lf.scheduler;

//import com.lf.service.IUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;


/**
 * @Description： 初始化用户第二日的收益总数记录
 * @author BaoJF
 *
 */
@Component
@Slf4j
public class CouponScheduleTasks {

//    @Autowired
//    private IUserService iUserService;

    /**
     * 定时任务
     */
    @Scheduled(cron = "0 0 1 * * ?")
    public void pushCouponExpiringMsg() {
//        log.info("每天1点，开始初始化用户第二日的收益总数记录...");
//        iUserService.initUserProfitToday();
//        log.info("每天1点，初始化用户第二日的收益总数记录结束");
    }

}
